package com.supermarket.common.factory;


import com.supermarket.common.strategy.FileStrategy;
import com.supermarket.common.strategy.impl.AliyunOSSFileStrategy;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Value;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


@Configuration
public class FileStrategyFactory {

    @Bean
    public FileStrategy getFileStrategy(){
        return  new AliyunOSSFileStrategy();
    }


}
